﻿namespace crawler.Models
{
    class Film
    {
        public string Name { get; set; }

        public int? Year { get; set; }

        public int? Duration { get; set; }

        public double? ImdbScore { get; set; }

        public int? MetaScore { get; set; }

        public double? ImdbMaleScore { get; set; }

        public double? ImdbFemaleScore { get; set; }

        public double? ImdbBelow18Score { get; set; }

        public double? Imdb18_29Score { get; set; }

        public double? Imdb30_44Score { get; set; }

        public double? ImdbAbove45Score { get; set; }

        public int? NumOfImdbScoreVoters { get; set; }

        public int? NumOfMetaScoreVoters { get; set; }

        public string MPAARating { get; set; }

        public int? ImdbId { get; set; }

        public override string ToString()
        {
            return Name + " (" + Year + ") " + Duration + " min.";
        }

    }
}
